#ifndef __MONITOR_COMMAND_H__
#define __MONITOR_COMMAND_H__
/*
	Monitor application command structure

	Part of the as-yet-unnamed MC68010 operating system


	(c) Stuart Wallace, 2011.
*/


/*
	Return / error codes for commands
*/
#define MON_E_OK				(0)
#define MON_E_SYNTAX			(1)
#define MON_E_INVALID_ARG		(2)
#define MON_E_NOT_IMPLEMENTED	(3)
#define MON_E_INTERNAL_ERROR	(4)
#define MON_E_OUT_OF_MEMORY		(5)


struct command
{
	ks8 * const name;
	s32 (*handler)(ks32 num_args, s8 **);
};


#endif

